package cn.edu.nuc.fourth.model;

public class Announce {
	private Integer aid;

	private Integer userid;

	private String aname;

	private String acomment;

	private String astart;

	private String aend;

	private String ausername;

	private Integer atype;

	private Integer astate;

	private String department;

	private String aurl;

	public Integer getAid() {
		return aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getAname() {
		return aname;
	}

	public void setAname(String aname) {
		this.aname = aname == null ? null : aname.trim();
	}

	public String getAcomment() {
		return acomment;
	}

	public void setAcomment(String acomment) {
		this.acomment = acomment == null ? null : acomment.trim();
	}

	public String getAstart() {
		return astart;
	}

	public void setAstart(String astart) {
		this.astart = astart == null ? null : astart.trim();
	}

	public String getAend() {
		return aend;
	}

	public void setAend(String aend) {
		this.aend = aend == null ? null : aend.trim();
	}

	public String getAusername() {
		return ausername;
	}

	public void setAusername(String ausername) {
		this.ausername = ausername == null ? null : ausername.trim();
	}

	public Integer getAtype() {
		return atype;
	}

	public void setAtype(Integer atype) {
		this.atype = atype;
	}

	public Integer getAstate() {
		return astate;
	}

	public void setAstate(Integer astate) {
		this.astate = astate;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department == null ? null : department.trim();
	}

	public String getAurl() {
		return aurl;
	}

	public void setAurl(String aurl) {
		this.aurl = aurl == null ? null : aurl.trim();
	}

	@Override
	public String toString() {
		return "Announce [aid=" + aid + ", userid=" + userid + ", aname=" + aname + ", acomment=" + acomment
				+ ", astart=" + astart + ", aend=" + aend + ", ausername=" + ausername + ", atype=" + atype
				+ ", astate=" + astate + ", department=" + department + ", aurl=" + aurl + "]";
	}

}